#pragma once
#include <stdio.h>
#include <stdlib.h>
struct ListNode
{
    int val;
    struct ListNode* next;
};

struct ListNode* partition(struct ListNode*, int);

void SLPushBack(struct ListNode**, int);

int chkPalindrome(struct ListNode*);